Partial Derivatives

Partial Derivatives

Definition:

Partial derivatives measure how a multivariable function changes as one of its variables is varied, while keeping the other variables constant. Given a function f(x1,x2,…,xn), the partial derivative of f with respect to xi is denoted by:

∂f∂xiorfxi

This notation indicates that we treat all other variables (x1,x2,…,xi−1,xi+1,…,xn) as constants and differentiate with respect to xi.

Example:

Consider a function f(x,y)=3x2y+2y2. The partial derivative of f with respect to x is:

∂f∂x=6xy

Here, y is treated as a constant. Similarly, the partial derivative of f with respect to y is:

∂f∂y=3x2+4y

Geometric Interpretation:

Partial derivatives give us the slope of the function along a specific axis. For a function f(x,y), the partial derivative ∂f∂x represents the rate of change of f with respect to x, while holding y constant. This is equivalent to slicing the surface z=f(x,y) parallel to the yz-plane and examining the slope of the curve along the x-direction.

Similarly, ∂f∂y represents the rate of change of f in the y-direction, with x held constant.

Visualizing Partial Derivatives:

Consider a surface z=f(x,y). The partial derivative ∂f∂x corresponds to the slope of the tangent line in the direction of the x-axis at any point (x,y). Geometrically, this is the slope of the curve you would see if you "cut" the surface along a plane parallel to the yz-plane. Similarly, ∂f∂y is the slope of the tangent line in the direction of the y-axis.

Higher-Order Partial Derivatives:

Just like with single-variable functions, we can take higher-order derivatives in multivariable functions. A second-order partial derivative is obtained by differentiating a first-order partial derivative. There are several types of second-order partial derivatives:

Clairaut’s Theorem on Mixed Partial Derivatives:

If the mixed partial derivatives are continuous, then the order of differentiation does not matter. That is:

∂2f∂x∂y=∂2f∂y∂x

Example of Higher-Order Partial Derivatives:

For the function f(x,y)=x3y2+4xy, the second-order partial derivatives are:

Chain Rule for Partial Derivatives:

The chain rule in the context of partial derivatives allows us to differentiate composite functions. Suppose z=f(x,y) and both x and y are functions of another variable t. The chain rule expresses the derivative of z with respect to t as:

dzdt=∂f∂xdxdt+∂f∂ydydt

This can be generalized for functions of more variables and multiple intermediate dependencies.

Example:

Let z=x2+xy, where x=t2 and y=et. Using the chain rule:

dzdt=∂z∂xdxdt+∂z∂ydydt

We calculate:

∂z∂x=2x+y,∂z∂y=x

Substituting x=t2 and y=et:

dzdt=(2t2+et)(2t)+(t2)(et)

Applications of Partial Derivatives:

Optimization:

Partial derivatives are essential in finding the local maxima and minima of functions of multiple variables. To find critical points (where the function might have a local max or min), you set the gradient equal to zero:

∇f=0

Solving this system of equations provides the critical points. From there, the second derivative test (involving second-order partial derivatives) can help determine whether the critical point is a local maximum, local minimum, or a saddle point.

Example:

Consider the function f(x,y)=x2+y2+2x−4y. The partial derivatives are:

∂f∂x=2x+2,∂f∂y=2y−4

Setting both derivatives to zero:

2x+2=0and2y−4=0

Solving these equations gives the critical point (x,y)=(−1,2).

Tangent Planes:

The equation of a tangent plane to a surface z=f(x,y) at the point (x0,y0,z0) can be written as:

z−z0=fx(x0,y0)(x−x0)+fy(x0,y0)(y−y0)

This gives a linear approximation of the surface near the point (x0,y0,z0).

Example:

For the function f(x,y)=x2+y2, find the equation of the tangent plane at the point (1,1,2):
The partial derivatives are:

fx(x,y)=2x,fy(x,y)=2y

At the point (1,1):

fx(1,1)=2,fy(1,1)=2

Thus, the equation of the tangent plane is:

z−2=2(x−1)+2(y−1)

Simplifying:

z=2x+2y−2